修复大屏不显示最后上传时间

FFIB 2 years ago
parent
commit
2f248e7bfb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      equipment/models.py

+ 1 - 1
equipment/models.py

@@ -174,7 +174,7 @@ class IsolationPointUserInfo(BaseModelMixin):
174 174
             'temperature_has_upload': self.temperature_has_upload,
175 175
             'user_status': self.user_status,
176 176
             'temperature': self.temperature,
177
-            'last_submit_at': tc.local_string(utc_dt=self.last_submit_at, format='%m-%d %H:%M') if self.last_submit_at else '',
177
+            'last_report_time': tc.local_string(utc_dt=self.last_submit_at, format='%m-%d %H:%M') if self.last_submit_at else '',
178 178
             'remark': self.remark or '',
179 179
         }
180 180